package io.renren.modules.project.mapper;

import io.renren.modules.project.model.ProjectDo;
import io.renren.modules.project.model.ProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 项目表
 *
 * @author zhangquanshuo
 * @date 2020-11-19 16:52:50
 */
@Mapper
public interface ProjectMapper {

    List<ProjectVo> queryPageList(@Param("projectName") String projectName,
                                  @Param("createTime") Date createTime,
                                  @Param("endTime") Date endTime,
                                  @Param("projectStatus") Integer projectStatus,
                                  @Param("createUserId") Integer createUserId);

    ProjectDo getById(Long id);

    Integer save(ProjectDo projectDo);

    Integer updateById(ProjectDo projectDo);

    Integer removeById(Long[] ids);
}
